<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<!--在vue 实例 components里面注册的组件 叫做局部组件-->

<div id="app">
  {{message}}
</div>
  <script src="../js/vue.js"></script>
<script>
  const app = new Vue({
    el:'#app',
    data:{
      message:"message",

    },
    methods:{

    },
    components:{
      cpn: 'cpnC'

    }

  })
</script>
</body>
</html>